.consultationList {
  .searchForm {
    margin-bottom: 24px;

    :global {
      .ant-form-item {
        margin-bottom: 24px;

        &:last-child {
          margin-bottom: 0;
          margin-right: 0;
        }
      }
    }
  }

  .table {
    :global {
      .ant-table-pagination {
        margin-top: 16px;
      }
    }
  }

  .loading {
    text-align: center;
    padding: 24px;
  }

  .detailModal {
    .basicInfo {
      margin-bottom: 24px;
      padding-bottom: 16px;
      border-bottom: 1px solid #f0f0f0;

      .header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 16px;

        h3 {
          margin: 0;
        }
      }

      .content {
        .item {
          margin-bottom: 8px;
          line-height: 1.5;

          &:last-child {
            margin-bottom: 0;
          }

          :global {
            .ant-typography-secondary {
              margin-right: 8px;
            }
          }
        }
      }
    }

    .consultation {
      margin-bottom: 24px;
      padding-bottom: 16px;
      border-bottom: 1px solid #f0f0f0;

      h3 {
        margin-bottom: 16px;
      }

      .section {
        margin-bottom: 16px;
        line-height: 1.5;

        &:last-child {
          margin-bottom: 0;
        }

        :global {
          .ant-typography-secondary {
            display: block;
            margin-bottom: 4px;
          }
        }
      }
    }

    .messages {
      h3 {
        margin-bottom: 16px;
      }

      .message {
        margin-bottom: 16px;
        padding: 12px;
        border-radius: 4px;

        &:last-child {
          margin-bottom: 0;
        }

        &.user {
          background: #f5f5f5;
        }

        &.ai {
          background: #e6f7ff;
        }

        .messageHeader {
          display: flex;
          justify-content: space-between;
          margin-bottom: 8px;
        }

        .messageContent {
          line-height: 1.5;
          white-space: pre-wrap;
        }
      }
    }
  }
} 